package com.rc.evcharger.common.terminal;

public class ElectricizeControlResult implements Result {
    private String gunNum; // 1：A枪 2：B枪
    private String orderId; // 00+手机号+四位流水号
    private String status; // 1：成功 2：失败
    private String fault; // 0：空闲 1：充电中 2：故障

    private String source; // 来自哪一个硬件开发商

    public ElectricizeControlResult(String source) {
        this.source = source;
    }

    public ElectricizeControlResult() {
        super();
    }

    public ElectricizeControlResult(String gunNum, String orderId, String status, String fault, String source) {
        super();
        this.gunNum = gunNum;
        this.orderId = orderId;
        this.status = status;
        this.fault = fault;
    }

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFault() {
        return fault;
    }

    public void setFault(String fault) {
        this.fault = fault;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    @Override
    public <T> T getResult(String dataStr) {
        // TODO Auto-generated method stub
        return null;
    }
}
